package io.renren.common.vo.input;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author: xiaomi
 * @date: 2022/2/7
 * @description:
 * 小程序登录传参
 */
@Data
@ApiModel(value = "WX登录")
public class WXLoginVo {

    @ApiModelProperty(value = "用户名")
    @NotBlank(message="用户名不能为空")
    private String username;

    @ApiModelProperty(value = "认证Code")
    @NotBlank(message="认证Code不能为空")
    private String code;

}
